package com.itheima.tlias84.service;

import com.itheima.tlias84.dto.SelectStudentByIdDTO;
import com.itheima.tlias84.dto.SelectStudentDTO;
import com.itheima.tlias84.po.*;
import com.itheima.tlias84.utils.ResultUtil;

import java.util.List;

public interface StudentService {
    ResultUtil selectStudentByPage(SelectStudentPageParam param);

    SelectStudentByIdDTO selectStudentById(Integer id);

    int updateStudent(UpdateStudentParam param);

    int insertStudent(InsertStudentParam param);

    int batchDelete(List<Integer> ids);

    int updateScore(Integer id , Integer score);
}
